using Habanero.UI.Base;

namespace UseCaseManager.UI.Menu
{
    public class UseCaseStepsEditableGridControlMenuItem : MenuItemCreator
    {
        public override void AddToMenu(HabaneroMenu currentMenu, IControlFactory controlFactory)
        {
            HabaneroMenu.Item menuItem = currentMenu.AddMenuItem("UseCaseSteps (UseCaseStepsEditableGridControl)");
            menuItem.FormControlCreator += delegate { return new UseCaseStepsEditableGridControl(controlFactory); };
        }
    }

}
